package com.example.statistics.ui.market

import android.os.Bundle
import android.provider.SyncStateContract.Constants
import com.example.statistics.R
import com.example.statistics.bean.MarketBean
import com.example.statistics.common.BaseActivity

class MarketInfoDetailActivity : BaseActivity() {

    private var marketBean: MarketBean? = null

    override val title: String
        get() = marketBean?.market ?: "市场"

    override fun initialize() {
        super.initialize()
        marketBean = intent.getSerializableExtra(Constants.DATA) as MarketBean?
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_market_info_detail)
    }
}